<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.back']}" action="/jsf/etablissementsbancaires/listEtablissementsBancairess.xhtml"/>
		
			<p:panel header="#{etablissementsbancairesmsgs['etablissementsbancaires.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbpays.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbPays}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbetablissement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdescription.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbDescription}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbcodesituation.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbCodeSituation}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatedebutvalidite.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbDateDebutValidite}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatefinvalidite.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbDateFinValidite}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdatedisparition.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbDateDisparition}"  converter="dateConverterForCalendar" />
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbcodeetablissnouveau.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbCodeEtablissNouveau}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etboptionidinvariant.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbOptionIdInvariant}"/>
						<h:outputText value="#{etablissementsbancairesmsgs['etablissementsbancaires.etbdateeffetidinvariant.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.etbDateEffetIdInvariant}"  converter="dateConverterForCalendar" />
				</h:panelGrid>
			</p:panel>

			<p:panel header="#{etablissementsbancairesmsgs['pays.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="pays" columns="2" styleClass="grid" columnClasses="label,value" rendered="#{EtablissementsBancairesComponent.etablissementsbancaires.pays != null}" >
					<h:outputText value="#{etablissementsbancairesmsgs['pays.ppppays.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppPays}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.ppplibelle.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppLibelle}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasquecodepostal.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueCodePostal}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasquetelephone.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueTelephone}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppprefixeinternational.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppPrefixeInternational}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.ppplibellerecherche.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppLibelleRecherche}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppcpmodifiable.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppCpModifiable}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppninsee.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppNInsee}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppetiquetterib.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppEtiquetteRib}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasqueportable.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasquePortable}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasqueetablissement.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueEtablissement}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasqueguichet.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueGuichet}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasquecompte.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueCompte}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppmasquecle.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppMasqueCle}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppordredsiban.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppOrdreDsIban}"/>
					<h:outputText value="#{etablissementsbancairesmsgs['pays.pppce.title']}:" />
							<h:outputText value="#{EtablissementsBancairesComponent.etablissementsbancaires.pays.pppCe}"/>
				</h:panelGrid>
				<h:panelGrid columns="2" styleClass="grid" columnClasses="label,value" rendered="#{EtablissementsBancairesComponent.etablissementsbancaires.pays != null}" >
					<p:commandButton image="edit" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.edit']}" action="#{EtablissementsBancairesComponent.editEtablissementsBancairesPays(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, EtablissementsBancairesComponent.etablissementsbancaires.pays.pppPays)}"/>
					<p:commandButton image="delete" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.delete']}" action="#{EtablissementsBancairesComponent.confirmDeleteEtablissementsBancairesPays(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, EtablissementsBancairesComponent.etablissementsbancaires.pays.pppPays)}"/>
				</h:panelGrid>
				<h:panelGrid columns="1" styleClass="grid" columnClasses="label,value" rendered="#{EtablissementsBancairesComponent.etablissementsbancaires.pays == null}" >
					<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.new']}" action="#{EtablissementsBancairesComponent.newEtablissementsBancairesPays(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement)}"/>
				</h:panelGrid>
			</p:panel>
			<p:panel header="#{etablissementsbancairesmsgs['guichets.title']} Details" style="margin-top:10px">
			<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{etablissementsbancairesmsgs['navigation.new']}" action="#{EtablissementsBancairesComponent.newEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement)}"/>
			<p:dataTable id="guichetses" value="#{EtablissementsBancairesComponent.listEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement)}"  var="current" rows="10" paginator="true" paginatorPosition="bottom">
				<p:column>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.selectEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, current.guiEtablissement, current.guiGuichet, current.guiPays)}" >
						<h:graphicImage value="/images/icons/view.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.editEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, current.guiEtablissement, current.guiGuichet, current.guiPays)}" >
						<h:graphicImage value="/images/icons/edit.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{EtablissementsBancairesComponent.confirmDeleteEtablissementsBancairesGuichetses(EtablissementsBancairesComponent.etablissementsbancaires.etbPays, EtablissementsBancairesComponent.etablissementsbancaires.etbEtablissement, current.guiEtablissement, current.guiGuichet, current.guiPays)}" >
						<h:graphicImage value="/images/icons/delete.gif" style="border:0;"/>
					</h:commandLink>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guietablissement.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiEtablissement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guiguichet.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiGuichet}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guipays.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiPays}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidomiciliation.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiDomiciliation}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guiadresseprelevement.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiAdressePrelevement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicontactprelevement.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiContactPrelevement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guichronotrace.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiChronoTrace}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinomguichet.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiNomGuichet}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicodenouvetablissement.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiCodeNouvEtablissement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinouvguichet.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiNouvGuichet}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guilocalitecompensation1.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiLocaliteCompensation1}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guilocalitecompensation2.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiLocaliteCompensation2}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidebutvalidite.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiDebutValidite}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guifinvalidite.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiFinValidite}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guidisparition.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiDisparition}"  converter="dateConverterForCalendar" />
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guinatureguichet.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiNatureGuichet}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guicodesituation.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiCodeSituation}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{etablissementsbancairesmsgs['guichets.guitiers.title']}" />
					</f:facet>
							<h:outputText value="#{current.guiTiers}"/>
				</p:column>
			</p:dataTable>
			</p:panel>
		</h:form>
	</ui:define>
</ui:composition>